import 'package:spring_fairy/api/file_upload_api.dart';
import 'package:spring_fairy/api/user_api.dart';
import 'package:spring_fairy/model/user.dart';

void main() async {
  UserAPI userAPI = UserAPI();
  User? user = await userAPI.login('admin', '1234567');
  print(user);
  
  FileUploadAPI uploadAPI = FileUploadAPI();
  var data = await uploadAPI.uploadFile("/home/pyoc/Pictures/Screenshots/wwmusic.png");
  print(data);
}